const seq = require('../connections/mysql_connect'),
      { STRING, INT, DECIMAL, TEXT } = require('../../config/db_type_config');

const ProblemTypeModel = seq.define('problem_type', {
  type_title: {
    content: 'problem type title',
    type: STRING,
    allowNull: false
  },
  isBasic: {
    content: 'is basic algorithm sort',
    type: STRING,
    allowNull: false
  }
})

module.exports = ProblemTypeModel;